package com.mrx.pvzcommunity.model.pvz;


import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;

@Data
@ApiModel(value = "植物对象")
public class Plant implements Serializable {
    @ApiModelProperty(value = "植物 id", example = "1")
    private long pid;
    @ApiModelProperty(value = "植物 名", example = "豌豆射手")
    private String name;
    @ApiModelProperty(value = "植物 花费", example = "100")
    private long suns;
    @ApiModelProperty(value = "植物 cd", example = "7.5")
    private String cd;
    @ApiModelProperty(value = "植物 攻击", example = "20")
    private long atk;
    @ApiModelProperty(value = "植物 生命", example = "300")
    private long hp;
    @ApiModelProperty(value = "植物 是否会种下消失", example = "0")
    private String disposable;
    @ApiModelProperty(value = "植物 出场环境", example = "day")
    private String env;

}
